package com.hua.emall.service.Impl;

import com.hua.emall.dao.UserInfoDao;
import com.hua.emall.entity.User;
import com.hua.emall.service.IUserLoginService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("userLoginService'")
public class UserLoginServiceImpl implements IUserLoginService {

    @Autowired
   private UserInfoDao userInfodao;

    @Override
    public List<User> queryUserLoginInfo(String username) {
       List<User> userlist = userInfodao.queryLoginInfo(username);
        return userlist;
    }
}
